package FactoryMethodPattern;

import FactoryMethodPattern.factory.AppleFactory;
import FactoryMethodPattern.factory.HuaweiFactory;
import FactoryMethodPattern.phone.Phone;

/**
 * @author: HenryDai
 * @Date: 2022/05/02 14:39
 * @description:
 */
public class demo {
    public static void main(String[] args) {
        HuaweiFactory huaweiFactory = new HuaweiFactory();
        AppleFactory appleFactory = new AppleFactory();
        Phone huaweiPhone = huaweiFactory.makePhone();
        Phone phone = appleFactory.makePhone();
    }
}
